﻿using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System.Data;

namespace DnDDB
{
    public class getMySQL : DnDDB.baseMySQL
    {
        const string myConnectionString = "Server=localhost;Database=dnd;uid=DnD;Password=paladin;";
        MySqlConnection _connection;
        public override MySql.Data.MySqlClient.MySqlConnection GetMySQLConnection()
        {
            return _connection;
        }
        public override MySqlConnection Connection
        {
            get { return _connection; }
        }

        public getMySQL()
        {
            _connection = new MySqlConnection(myConnectionString);
        }

    }
}
